package club.babyf.nativeai.demo.spi.impl;

import club.babyf.nativeai.demo.spi.DatabaseService;

/**
 * MySQLDatabaseService.
 *
 * @author zhanglei.
 * @date 2025/3/23 20:01.
 * @description SPI接口实现，与业务无关，验证SPI.
 */
public class MySQLDatabaseService implements DatabaseService {

    @Override
    public void connect() {
        System.out.println("Connecting to MySQL database...");
    }

    @Override
    public String getDatabaseType() {
        return "MySQL";
    }

}
